<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
	String basePath = request.getContextPath();
	String path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+basePath+"/";
	request.setAttribute("path",path);
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
	<meta name="format-detection" content="telephone=no,address=no,email=no"/>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<title>支付订单</title>
	<script type="text/javascript" src="js/jquery.js"></script>
	<link href="css/style.css" rel="stylesheet" media="all">
	<link rel="shortcut icon" href="img/favicon.png">
</head>
<body>
	<header class="top_header">
		<h1><a href="javascript:history.go(-1);" class="go_back"></a><span class="black_text">支付订单</span></h1>
	</header><!-- header -->
	<div class="content_wrap kaorderpay_wrap">
		<div class="kaorderpay_top">
			<span class="kaorderpay_l">订单金额</span>
			<span class="yellow_txt">￥${realPayPrice}</span>
			<div class="clear"></div>
		</div><!-- kaorderpay_top -->
		
		<form class="orderpay_way" id="orderpay_way" name="orderpay_way">
			<h4>支付方式</h4>
			<label class="weixin_pay" for="weixinpay">
				<i class="pay_icon"></i>
				<span>微信支付</span>
				<input name="orderpay_way" type="radio" id="weixinpay" class="weixinpay">
				<div class="clear"></div>
			</label>
			
			<a class="payup_but" href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx079bba8222507669&redirect_uri=http://www.kaaction.com/Admin/toWeiXinPay?orderCode=${orderCode}&response_type=code&scope=snsapi_base&state=2017&connect_redirect=1#wechat_redirect">立即支付</a>		
		</form><!-- orderpay_way -->
	</div><!-- content_wrap -->
	
	<div class="footer_copyright">
		<p><span>苏州知行合一网络科技有限公司</span>提供技术支持，版权所有</p>
	</div><!-- footer_copyright -->
	
	<div id="fade" class="black_overlay" style="display:none;"></div>
	<div class="payup_wrap"  id="Mypay" style="display:none;">
		<p class="payup_txt">订单支付成功</p>
		<div class="payup_close"><span onclick="CloseDiv('Mypay','fade')"></span></div>
	</div><!-- payup_wrap -->
		<script>
			//关闭弹出层
			function CloseDiv(show_div,bg_div){
				document.getElementById(show_div).style.display='none';
				document.getElementById(bg_div).style.display='none';
			};
		</script>
</body>
</html>